/**
 * 
 */
package com.chinasofti.project.service.address.impl;

import org.springframework.beans.factory.annotation.Autowired;

import com.chinasofti.project.dal.mapper.custom.BzShippingAddressMapperCustom;
import com.chinasofti.project.dal.model.BzShippingAddress;
import com.chinasofti.project.service.address.AddressService;

/**
 * @author Fanxin
 * @Date2018年9月27日下午4:24:10
 */
public class AddressServiceImpl implements AddressService {
	@Autowired
	private BzShippingAddressMapperCustom bzShippingAddressMapper;

	@Override
	public int modifyDefaultAddress(BzShippingAddress bzShippingAddress) {
		return bzShippingAddressMapper.updateByPrimaryKey(bzShippingAddress);
	}

}
